﻿
namespace eLearning.Model
{
    public class Category
    {
        public string Id { get; set; }
        public string Kategori { get; set; }

        public override string ToString()
        {
            return Kategori;
        }

        public override bool Equals(object obj)
        {
            if (obj == null)
                obj = new Category();
            return Id == (obj as Category).Id;
        }

        public override int GetHashCode()
        {
            return base.GetHashCode();
        }

    }
}
